package com.example.crawler.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
@Mapper
public interface CrawlerIndustryMapper {
    Integer insert(@Param("list")List<Map<String, String>> resultDateList);

    void deleteByname(@Param("cname") String cname);

    List<Map<String, Object>> queryByName(@Param("cname") String cname);

    List<Map<String, Object>> queryAllProps();

}
